home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software of the Month Club 1996 June
/
Software of the Month Club 1996 June.iso
/
mac
/
ISO9660
/
DOS
/
DTP
/
AURORA
/
PALETTE.AML
< prev
next >
Wrap
Text File
|
1995-02-24
|
1KB
|
34 lines
// ───────────────────────────────────────────────────────────────────
// The Aurora Editor v2.0
// Copyright 1993-1995 nuText Systems. All Rights Reserved Worldwide.
//
// Color palette installation macro
// ───────────────────────────────────────────────────────────────────
// compile time macros and function definitions
include bootpath "define.aml"
menu "colors"
item " &Blue and green" "blugreen"
item " &Fluorescent" "fluoresc"
item " &Green charcoal" "greench"
item " &Red and blue" "redblue"
item " &Wimbledon" "wimbledn"
end
palette = popup "colors" "Select a color palatte to install" 37
if palette then
// backup existing color file
copyfile (bootpath "COLOR.AML") (bootpath "COLOR.OLD")
// copy color palette
if copyfile (getbootpath + "PALETTE\\" + palette + ".AML")
(bootpath "COLOR.AML") then
// recompile the editor
send "recompile"
end
end
// destroy the menu
destroybuf "colors"